.icon {
    width: 1em; height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
 }
#canvas {
    background: #fff;
    display: block;
    position: fixed;
    left: 0;
    top: 0;
}

body {
    margin: 0px;
    overflow: hidden;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.actions {
    position: fixed;
    left: 30px;
    top: 30px;
}
.actions svg {
    width: 25px;
    height: 25px;
    margin-right: 20px;
    transition: all 0.3s;
    cursor: pointer;
}
.actions svg.active {
    fill: red;
    transform: scale(1.4);
    transition: all 0.3s;
}
/* .actions > #draw{
    display: none;
}
.actions.show > #eraser {
    display: none;
}
.actions.show > #draw {
    display: inline-block;
} */

.color {
    position: fixed;
    left: 30px;
    top: 80px;
}
.color li {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 15px 0;
    cursor: pointer;
    transition: all 0.3s;
}
.color li.active {
    transform: scale(1.3);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.23)
}
.color .black {
    background-color: #000;
}
.color .red {
    background-color: red;
}
.color .green {
    background-color: green;
}
.color .blue {
    background-color: blue;
}

.thickness {
    position: fixed;
    top: 250px;
    left: 20px;
}
.thickness .thin {
    width: 30px;
    height: 3px;
    background-color: #000;
    margin-bottom: 10px;
}
.thickness .thick {
    width: 30px;
    height: 6px;
    background-color: #000;
}
.thickness>div {
    transition: all 0.5s;
    border: 5px solid #fff;
}
.thickness>div.active {
    border: 5px solid #ddd;
}